package ch.app.entity;

import java.io.Serializable;
import java.util.Date;

import ch.app.Enum.UserSexEnum;


public class UserEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	private long userId;
	private String userName;
	private String passWord;
	private UserSexEnum userSex;
	private String nickName;
    private Date createDate;

	public long getUserId() {
		return userId;
	}



	public void setUserId(long userId) {
		this.userId = userId;
	}



	public String getUserName() {
		return userName;
	}



	public void setUserName(String userName) {
		this.userName = userName;
	}



	public String getPassWord() {
		return passWord;
	}



	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}



	public UserSexEnum getUserSex() {
		return userSex;
	}



	public void setUserSex(UserSexEnum userSex) {
		this.userSex = userSex;
	}



	public String getNickName() {
		return nickName;
	}



	public void setNickName(String nickName) {
		this.nickName = nickName;
	}



	public Date getCreateDate() {
		return createDate;
	}


	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "UserEntity [id=" + userId + ", userName=" + userName + ", passWord=" + passWord + ", userSex=" + userSex
				+ ", nickName=" + nickName + ", createDate=" + createDate + "]";
	}

}